package pojo.entity;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: Users
 * Package: cn.dzh.entity
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users {
    @JsonAlias("user_id")
    private Integer userId;
    @JsonAlias("username")
    private String username;
    @JsonAlias("password")
    private String password;
    @JsonAlias("phone")
    private String phone;
    @JsonAlias("email")
    private String email;
    @JsonAlias("role_id")
    private Integer roleId;
}
